//
//  CTMediator+Notice.m
//  Notice_Category
//
//  Created by CPX on 2018/8/21.
//  Copyright © 2018年 CPX. All rights reserved.
//

#import "CTMediator+Notice.h"

@implementation CTMediator (Notice)

- (void)Notice_goToNewsDetailController:(NSDictionary *)params{
    [self performTarget:@"Notice" action:@"goToNewsDetailController" params:params shouldCacheTarget:NO];
}

- (void)Notice_goToNoticeController:(NSDictionary *)params{
    [self performTarget:@"Notice" action:@"goToNoticeController" params:params shouldCacheTarget:NO];
}

- (UIViewController*)Notice_noticePageController:(NSDictionary *)params{
    UIViewController *ctr = [self performTarget:@"Notice" action:@"noticePageController" params:params shouldCacheTarget:NO];
    if (!ctr) {
        ctr = [UIViewController new];
    }
    return ctr;
}

@end
